
const PREFIX = 'end_'
const EndActionType = {
  toggle_loading: PREFIX + 'toggle_loading'
}

const toggleLoading = (loading) => {
  return {
    type: EndActionType.toggle_loading,
    payload: { loading: loading }
  }
}
module.exports = {
  EndActionType,
  toggleLoading
}
